package com.open4cn.simulator.config.server.impl;

import com.open4cn.simulator.config.entity.UserInfo;
import com.open4cn.simulator.config.mapper.UserInfoMapper;
import com.open4cn.simulator.config.server.IUserServer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author yinxiaopeng
 * @version 1.0.0
 * @company 致景科技
 * @department 飞梭BU/研发
 * @description
 * @Email yinxiaopeng@zj.tech
 * @date 2022-02-19 17:16
 */
@Service
public class UserServerImpl implements IUserServer {

    @Autowired
    private UserInfoMapper userInfoMapper;

    @Override
    public UserInfo getUserInfo(String id) {
        return userInfoMapper.selectById(id);
    }
}
